package com.movies.service.mapper;

import com.movies.service.entity.Admin;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;


public interface AdminMapper extends BaseMapper<Admin> {

    Admin selectAdminById(@Param("id") Long id);
    int insertAdmin(Admin admin);
    int updateAdminById(Admin admin);
    int deleteAdminById(@Param("id") Long id);
    int deleteAdminsByIds(@Param("ids") java.util.List<Long> ids);
}




